#ifndef GOALDAO_H
#define GOALDAO_H

#include <QString>
#include <QList>
#include "../entity/goal.h"

MoneyGoal::goal_types selectTypeGoal(int typeGoal);

int selectTypeGoal(MoneyGoal::goal_types typeGoal);

QList<MoneyGoal*> getAllMoneyGoal(int id_user);

bool deleteMoneyGoal(MoneyGoal* goal);

bool updateMoneyGoal(MoneyGoal* goal);

bool registerMoneyGoal(MoneyGoal* goal, int id_user);

MoneyGoal* getGoal(MoneyGoal* incomplete_goal, int id_user);

#endif // GOALDAO_H
